#include <iostream>

using namespace std;

class Fish {
   public:
    Fish() { age = 328; }

    virtual void said() {
        cout << "I am a fish, my age is " << age << "." << endl;
    }

   protected:
    int age;
};

class FishKing : public Fish {
   public:
    void said() override { cout << "I,FishKing," << age << endl; }
};

int main(int argc, char const* argv[]) {
    FishKing SaltedFishKing;
    SaltedFishKing.said();
    return 0;
}